<?php
/**
 * 站点管理员
 */
namespace app\admins\controller\site;
use \app\admins\controller\Auth;
class Admin extends Auth{
    
    
    /**
     * 站点管理员
     */
    public function index(){        
        $siteid  = input('siteid',0);
        $name    = input('name');
        $status  = input('status');
        $where = [
            'page'      => input('page'),
            'limit'     => 20,
            'siteid'    => $siteid,
            'name'      => $name,
            'status'    => $status
        ];
        
        $SiteList = new \logic\site\AdminList();
        $data = $SiteList->getAdminList($where);
        $this->assign(get_defined_vars());
        return $this->fetch();
    }
    
    
}